﻿using EFModel;
using IServices;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using xm.Controllers;
using Y2.Dao;
using Y2.Filters;

namespace Y2.Controllers
{
    [Obsolete]
    [LoginFilter]
    public class config_public_charController : Controller
    {
        private readonly Iconfig_public_char he;

        public config_public_charController(Iconfig_public_char he)
        {
            this.he = he;
        }

        public IActionResult config_public_char()
        {
            return View();
        }

        public async Task<string> Index6(int currentPage, int pageSize)
        {
            return await he.Index6(currentPage, pageSize);
        }

        public async Task<int> delt3(int pbc_id)
        {
            return await he.delt3(pbc_id);
        }
        public Task<string> Lexing()
        {
            return he.Lexing();
        }
    }
}
